package com.furioussnails.sourcecodeanalysis.sqlsession;

import com.furioussnails.sourcecodeanalysis.pojo.Configuration;
import com.furioussnails.sourcecodeanalysis.pojo.MapperStatement;

import java.beans.IntrospectionException;
import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

public interface Executor {
    <T> List<T> query(Configuration configuration, MapperStatement mapperStatement,Object... params) throws SQLException, ClassNotFoundException, NoSuchFieldException, IllegalAccessException, IntrospectionException, InvocationTargetException, InstantiationException;
}
